<%@ Control Language="C#" AutoEventWireup="true" Codebehind="FolderList.ascx.cs"
	Inherits="iPhOwa.Web.Controls.FolderList" %>
<asp:DataList ID="folderList" runat="server" EnableViewState="false" Width="100%"
	CellPadding="0" CellSpacing="0">
	<HeaderTemplate>
		<div class="heading">
			Folders</div>
	</HeaderTemplate>
	<ItemTemplate>
		<iwc:ClickablePanel runat="server" ID="folderPanel" Style="padding: 2px;" Href='<%# GetPath((Uri)Eval("Href")) %>'>
			<asp:Image runat="server" ID="folderImage" ImageUrl='<%# Eval("ImageUrl") %>' CssClass="middle" />
			<asp:Label runat="server" ID="nameLabel" Text='<%# Eval("DisplayName") %>' />
			<asp:Label runat="server" ID="unreadLabel" Text='<%# string.Concat("(", Eval("UnreadCount"), ")") %>'
				Font-Bold="true" Visible='<%# (long)Eval("UnreadCount") > 0 %>' />
		</iwc:ClickablePanel>
	</ItemTemplate>
	<FooterTemplate>
		<hr class="divider" />
	</FooterTemplate>
</asp:DataList>